xend: Allow replacement of a cdrom device on a device_add
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 12 Mar 2009 11:01:25 +0000 (11:01 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 12 Mar 2009 11:01:25 +0000 (11:01 +0000)
commiteb10d0f9543424e8a00335f0e46d05f8514dafe7
tree4099ea23aaab62e51ae3a7c139c7dddcee2a5009
parente36d0b0d060d336e38c4897b9f10f2e55ed940a7
xend: Allow replacement of a cdrom device on a device_add

When adding a device, allow a cd to replace another if the device is a
cdrom.

Signed-off by: Ryan Scott <ryan.scott@sun.com>
tools/python/xen/xend/XendConfig.py